package com.eascs.web.o2o.scheduler.quartz;

import javax.inject.Inject;

import org.springframework.stereotype.Component;

import com.eascs.app.log.Logger;
import com.eascs.app.log.LoggerFactory;
import com.eascs.web.o2o.quartz.util.BaseJobUtil;
import com.eascs.web.o2o.quartz.util.ExecutorService;
import com.eascs.web.o2o.scheduler.service.SynchroCrm;

/**
      crm：与crm相关的定时任务，并且数据落库在crm中
 */
@Component("CrmSynchroQuartz")
public class CrmSynchroQuartz extends BaseJobUtil{
	protected final Logger logger = LoggerFactory.getLogger(getClass());

	@Inject
	SynchroCrm		synchroCrm;
	
	public void saveCrmJob() {
		executor("CrmSynchroQuartz", "saveCrmJob", "crm数据同步", new ExecutorService() {
			@Override
			public void exe() {
				//synchroCrm.saveData();
			}
		});
	}

	
	
}
